from fabric.api import *


def virtualenv(command):
    with cd(env.directory):
        sudo(env.activate + '&&' + command, user=env.deploy_user)

def pip_install_req():
    virtualenv('pip install -U -r ../../../requirements/external_apps.txt') 

